﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LearningBubbles
{
    static class Menu
    {
        private static bool menuStarted = true;

        public static bool MenuStarted
        {
            get { return menuStarted; }
            set { menuStarted = value; }
        }

        private static List<assignment> asses = Queries.GetAssignments();

        public static List<assignment> Asses
        {
            get { return Menu.asses; }
            set { Menu.asses = value; }
        }
        private static assignment ass = Asses.ElementAtOrDefault(pointer);

        public static assignment Ass
        {
            get { return Menu.ass; }
            set { Menu.ass = value; }
        }
        private static int pointer = 0;

        public static int Pointer
        {
            get { return pointer; }
            set { pointer = value; }
        }

        public static void UpdatePointer()
        {
            ass = asses.ElementAtOrDefault(pointer);
        }


    }
}
